package interfaces;

import java.sql.SQLException;
import java.util.ArrayList;
import model.State;

public interface IState {
  public boolean create(State s) throws SQLException, ClassNotFoundException;
  public boolean update(State s) throws SQLException, ClassNotFoundException;
  public boolean delete(State s) throws SQLException, ClassNotFoundException;
  public ArrayList<State> retrieveByID(int id) throws SQLException, ClassNotFoundException;
  public ArrayList<State> retrieveAll() throws SQLException, ClassNotFoundException;
}
